package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;

/**
 * <p>
 * 
 * </p>
 *
 * @author enjoyor
 * @since 2023-11-27
 */
@TableName("file_info")
@ApiModel(value = "FileInfo对象", description = "")
public class FileInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("file_id")
    private String fileId;

    private Integer fileType;

    private String fileName;

    private String fileOriginalName;

    private Integer status;

    private LocalDateTime storageTime;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileOriginalName() {
        return fileOriginalName;
    }

    public void setFileOriginalName(String fileOriginalName) {
        this.fileOriginalName = fileOriginalName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(LocalDateTime storageTime) {
        this.storageTime = storageTime;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
            "fileId = " + fileId +
            ", fileType = " + fileType +
            ", fileName = " + fileName +
            ", fileOriginalName = " + fileOriginalName +
            ", status = " + status +
            ", storageTime = " + storageTime +
        "}";
    }
}
